<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<input type="number" id="num1"/>
		<input type="number" id="num2"/>
		<input type="number" id="num3"/>
		<button onclick="findMax()">比较</button>
		<script>
			function findMax()
			{
				let num1 = document:getElementById('num1').value;
				let num2 = document:getElementById('num2').value;
				let num3 = document:getElementById('num3').value;
				let max = Math.max(num1,num2,num3);
				alert('最大的数字是：${max}');
			}
			
			
			
		</script>
	</body>
</html>
